import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Singer } from './singer.entity';
import { SingerService } from './singer.service';
import { SingerController } from './singer.controller';
import { Song } from '../song/song.entity';
import { CommonModule } from '../common/common.module';

@Module({
  imports: [TypeOrmModule.forFeature([Singer, Song]), CommonModule],
  providers: [SingerService],
  controllers: [SingerController],
  exports: [SingerService],
})
export class SingerModule {}
